import { LAYOUT } from '@/router/constants';
import type { RouteRecordItem } from 'vc/src/router';

export const LINK_MONITOR = '/monitor';
export const LINK_MONITOR_INDEX = LINK_MONITOR + '/index';

const News: RouteRecordItem = {
  path: LINK_MONITOR,
  component: LAYOUT,
  meta: {
    title: '监控',
    menuIndex: 3
  },
  children: [
    {
      path: LINK_MONITOR_INDEX,
      component: () => import('@/views/modules/monitor/index.vue'),
      meta: {
        title: '监控',
        hideSide: true
      }
    }
  ]
};

export default News;
